﻿@model MIMSWeb.Models.DrugHistoryViewModel

@{
    ViewBag.Title = "AddDrugHistory";
}

<h2>Add Drug History</h2>
@using (@Html.BeginForm()){
    @Html.ValidationSummary(true)
<div>
    @Html.EditorFor(p => p.HasMedications)
    @Html.LabelFor(p => p.HasMedications)
</div>
<div>
    @Html.EditorFor(p => p.MedicationsPrescribed)
    @Html.LabelFor(p => p.MedicationsPrescribed)
</div>
    <div>
    @Html.EditorFor(p => p.MedicationsPurchased)
    @Html.LabelFor(p => p.MedicationsPurchased)
</div>
<div>
    @Html.EditorFor(p => p.UsesInhalers)
    @Html.LabelFor(p => p.UsesInhalers)
</div>
<div>
    @Html.EditorFor(p => p.UsesSkinCreams)
    @Html.LabelFor(p => p.UsesSkinCreams)
</div>
    <div>
    @Html.EditorFor(p => p.UsesPatches)
    @Html.LabelFor(p => p.UsesPatches)
</div>
<div>
    @Html.EditorFor(p => p.UsesSuppositories)
    @Html.LabelFor(p => p.UsesSuppositories)
</div>
    <div>
    @Html.EditorFor(p => p.UsesTabletsToSuck)
    @Html.LabelFor(p => p.UsesTabletsToSuck)
</div>
    <div>
    @Html.EditorFor(p => p.HasStoppedTakenMedication)
    @Html.LabelFor(p => p.HasStoppedTakenMedication)
</div>
    <div>
    @Html.EditorFor(p => p.TakesMedicationPrescribedForOtherPeople)
    @Html.LabelFor(p => p.TakesMedicationPrescribedForOtherPeople)
</div>
    <div>
    @Html.EditorFor(p => p.UsesHerbalOrOtherComplementaryMedicines)
    @Html.LabelFor(p => p.UsesHerbalOrOtherComplementaryMedicines)
</div>
<p><input type="Submit" value="Update" Id="btnUpdate" name="btnUpdate"/></p>
}